package com.blog.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.blog.dao.sys.UserAndRoleDao;
import com.blog.entity.sys.UserAndRole;
import com.blog.service.sys.UserAndRoleService;
 

@Service
public class UserAndRoleServiceImp implements UserAndRoleService{

	@Autowired
	private UserAndRoleDao dao;
	
	@Override
	public Integer insertUserRole(UserAndRole ur) {
		return dao.insertUserRole(ur);
	}
 
	@Override
	public Integer deleteUserRole(UserAndRole ur) {
		 
		return dao.deleteUserRole(ur);
	}

}
